Skip to content

feat(source-control): complete git panel workflow#259

Closed
viniraioli wants to merge 17 commits into
crynta:mainfrom
viniraioli:feat/source-control-handoff
Closed

feat(source-control): complete git panel workflow#259
viniraioli wants to merge 17 commits into
crynta:mainfrom
viniraioli:feat/source-control-handoff

Conversation

@viniraioli
Copy link
Copy Markdown
Contributor

@viniraioli viniraioli commented May 15, 2026

What

Completes the Git source control workflow with a polished source-control panel, status count badge, staged/unstaged groups, discard actions, commit/push affordances, and AI-generated Conventional Commit messages for staged changes.

This continues the inactive draft work in #174 and turns the source-control surface into a usable review/stage/commit flow.

Why

Closes #194
Closes #243
Closes #87
Refs #1

Terax users need a first-class Git workflow for reviewing AI-generated changes without leaving the app or falling back to another editor. The existing draft PR #174 already established the direction; this PR picks up that work and fills in the missing workflow polish.

How

  • Adds the registered git_discard command and backend discard support for tracked and untracked files.
  • Refines the Source Control panel with compact layout behavior, file icons, status codes, safer disabled states, confirmation-backed discard controls, and persistent panel sizing.
  • Exposes a header badge with the current changed-file count.
  • Reuses the configured AI model path to generate valid Conventional Commit subjects from staged diffs.
  • Keeps push disabled until an upstream exists, with a clear hint instead of a silent no-op.

Testing

  • pnpm exec tsc --noEmit clean
  • Manual smoke-test of the affected feature
  • (If you touched src-tauri/) cargo check clean
  • (If UI) tested in pnpm tauri dev

Screenshots / GIFs

Source Control staged list Commit footer
image image image

Notes for reviewer

Related PR: #174 is the existing draft source-control implementation this follows up on.

Copilot AI review requested due to automatic review settings May 15, 2026 00:36
@viniraioli viniraioli requested a review from crynta as a code owner May 15, 2026 00:36
@viniraioli
Copy link
Copy Markdown
Contributor Author

@crynta Hi, do you have an estimated timeline for implementing this control panel feature? Version control support is really important for day-to-day use in Terax, so I wanted to check whether this is likely to land soon or if it is still expected to take a bit more time. Thanks.

@crynta
Copy link
Copy Markdown
Owner

crynta commented May 16, 2026

@viniraioli Hi, thanks for asking, I’m actually looking at this right now and gonna merge it soon. It was originally supposed to be included in 0.6.6, but there were a couple of pretty obvious terminal issues I wanted to fix first, especially after the BetterStack video (btw, thanks to them for that :) ). So I decided to quickly fix those, ship the release, and then move on to new features like source control, the new AI agents workflow, improved web preview, extensions, etc. with source control being the first priority

…-handoff

# Conflicts:
#	src-tauri/src/modules/net.rs
@viniraioli viniraioli closed this by deleting the head repository May 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants